<?php 
$type = empty($_REQUEST['type'])?"programme":$_REQUEST['type'];
$type_text = ('qa' == $type) ? 'Q&amp;A' : ucwords(str_replace('_',' ',$type));

?>
<div id="result-list" class="mod ui-widget-content ui-helper-clearfix ui-corner-all">

    <div class="hd ui-widget-header ui-helper-clearfix ui-corner-all"><h2>Result Listing: <?php echo $type_text;?></h2></div>

    <div class="bd">
        
        <div class="cms-jqgrid">
            <table id="result-list1" class="scroll"></table>
            <div id="result-pager1" class="scroll"></div>
        </div> 

    </div>

</div>
<script>
var tvb_pdes_find_type = '<?php echo $type;?>';
</script>
